<template>
	<view>
		<view class="u-padding-20">
			<image style="width:100%;" src="https://resourse.cnlhjt.com/upload/20220824/a3eabdb5905adcd75412ef03141cc3b9.png" mode="widthFix"></image>
		</view>
		<view class="u-padding-20 u-flex u-row-between">
			<view class="tag_type" @click="toreportForm">
				<u-icon name="https://resourse.cnlhjt.com/upload/20220824/a5cca42e1df7c40c989e0d3b69e57a2d.png" size="78"></u-icon>
				<text class="dis_blo">报表</text>
			</view>
			<view class="tag_type" @click="tostorehouseCount">
				<u-icon name="https://resourse.cnlhjt.com/upload/20220824/3164f1e9cc2bb9ef7614621e9b10abea.png" size="78"></u-icon>
				<text class="dis_blo">仓库统计</text>
			</view>
		</view>
		
	</view>
</template>

<script>
	import {
		getBanner
	} from "@/service/indexService.js";
	export default {
		data () {
			return {
				bannerList:[],
				keyword:'',
				
				type:1,
			}
		},
		onLoad(options) {
			
			getBanner({
				type: 2
			}).then(this.getBanner);
		},
		methods:{
			getBanner(e) {
				if (e.code == 200) {
					this.bannerList=e.result;
				}
			},
			
			tostorehouseCount(){
				uni.navigateTo({
					url:'./storehouseCount'
				})
			},
			toreportForm(){
				uni.navigateTo({
					url:'./reportForm'
				})
			}
			
		}
	}
</script>

<style lang="scss">
	swiper{
		height:340rpx !important;
	}
	.tag_type{
		width:47%;
		padding:30rpx 0;
		text-align: center;
		border-radius: 20rpx;
		box-shadow: 0 0 15rpx #ddd;
	}
	.tag_type1{
		width:30%;
	}
	.tag_type text{
		margin-top:10rpx;
		color:#555;
	}
	.fabu{
		position: fixed;
		bottom:150rpx;
		right:30rpx;
		width:100rpx;
		height:100rpx;
		// text-align: center;
		border-radius: 50%;
		background-color:#006971;
	}
	.fabu image{
		width:60rpx;
		height:60rpx;
		margin-left:15rpx;
		margin-top:20rpx;
	}
</style>
